﻿using System.ServiceModel;

namespace SharedServiceLibrary
{
    [ServiceContract]
    public interface IPumpStationService
    {
        [OperationContract]
        WaterLevel GetWaterLevel();

        [OperationContract]
        void StartPump(int pumpIndex);

        [OperationContract]
        void StopPump(int pumpIndex);

        [OperationContract]
        Pump[] GetPumps();
    }
}
